package cn.gzjp.modules.gas.entity;

import org.hibernate.validator.constraints.Length;

import cn.gzjp.common.persistence.DataEntity;
import cn.gzjp.common.utils.excel.annotation.ExcelField;

/**
 * 会员车牌Entity
 * @author zengcp
 * @version 2018-03-11
 */
public class GasCar extends DataEntity<GasCar> {
	
	private static final long serialVersionUID = 1L;
	private String openid;		// openid
	private String licensePlate;		// 车牌
	
	public GasCar() {
		super();
	}

	public GasCar(String id){
		super(id);
	}

	@Length(min=0, max=32, message="openid长度必须介于 0 和 32 之间")
	@ExcelField(title="openid", align=2, sort=1)
	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
	
	@Length(min=0, max=32, message="车牌长度必须介于 0 和 32 之间")
	@ExcelField(title="车牌", align=2, sort=2)
	public String getLicensePlate() {
		return licensePlate;
	}

	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}
	
}